document.addEventListener("DOMContentLoaded",function(){const t=document.querySelector(".page-template-template-homepage .type-page.has-post-thumbnail");if(t){var e=t.querySelectorAll(".entry-title, .entry-content");for(let t=0;t<e.length;t++)e[t].classList.add("loaded");const n=document.querySelector(".site-main"),i=document.documentElement.getAttribute("dir"),o=function(){o._tick&&window.cancelAnimationFrame(o._tick),o._tick=window.requestAnimationFrame(function(){o._tick=null,t.style.width=window.innerWidth+"px","rtl"!==i?t.style.marginLeft=-n.getBoundingClientRect().left+"px":t.style.marginRight=-n.getBoundingClientRect().left+"px"})};window.addEventListener("resize",o),o()}});
